package cn.ad.entity;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.math.BigDecimal;

@Alias("strategyGroup")
public class StrategyGroup extends PO implements Serializable {

	private static final long serialVersionUID = -8900096970507421351L;


	/**
	 * 策略分组名称
	 */
	private String name;

	/**
	 * 资源类型 1ADN 2ADX
	 */
	private String resourceType;


	/**
	 * 所属订单id
	 */
	private int campaignId;
	/**
	 *
	 */
	private BigDecimal dayBudget;
	/**
	 * 投放速度 0 平均 1 尽快 默认为0 平均
	 */
	private Integer speedMode;
	/**
	 * 状态 -1 删除 0 初始 1 启用 2 停用  默认为1
	 */
	private Integer status;

	/**
	 * 创建时间
	 */
	private String createTime;
	/**
	 * 更新时间
	 */
	private String updateTime;


	public String getResourceType() {
		return resourceType;
	}

	public void setResourceType(String resourceType) {
		this.resourceType = resourceType;
	}

	public int getCampaignId() {
		return campaignId;
	}

	public void setCampaignId(int campaignId) {
		this.campaignId = campaignId;
	}

	public BigDecimal getDayBudget() {
		return dayBudget;
	}

	public void setDayBudget(BigDecimal dayBudget) {
		this.dayBudget = dayBudget;
	}

	public Integer getSpeedMode() {
		return speedMode;
	}

	public void setSpeedMode(Integer speedMode) {
		this.speedMode = speedMode;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
}
